package com.copd.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(description = "权限实体")
@Data
public class Permission {
    
    @ApiModelProperty(value = "权限ID", example = "1")
    private Integer permissionId;
    
    @ApiModelProperty(value = "权限名称", required = true, example = "用户管理")
    private String permissionName;
    
    @ApiModelProperty(value = "权限标识符", required = true, example = "system:user:list")
    private String permissionKey;
    
    @ApiModelProperty(value = "权限描述", example = "用户管理权限")
    private String description;
    
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
} 